if 'a' in 'hasaki':
    print('ojbk')

# ojbk

if 'error' in 'hasaki':
    print('error')
else:
    print('no ojbk')

# no ojbk

if 'error' in {'error':'hasaki'}:
    print('ojbk')

# ojbk

if 'error' in ['error']:
    print('ojbk')

# ojbk

if 'error' in ('error'):
    print('ojbk')

# ojbk